package _14CompositeDesignPattern;

import java.util.List;

public class File implements IFile {

    private String name;
    public File(String name){
        this.name=name;
    }

    @Override
    public void display() {
        System.out.println(name);
    }

    @Override
    public void add(IFile iFile) {

    }

    @Override
    public void remove(IFile iFile) {

    }

    @Override
    public List<IFile> getChildren() {

        return null;
    }
}
